/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package JungSocialNetPackage;

import java.util.TimerTask;
import javax.swing.JButton;

/**
 *
 * @author Evan
 */
public class ButtonDelayTimerTask extends TimerTask {

  private JButton theButton;

  public ButtonDelayTimerTask(JButton b)
  {
    theButton = b;
  }

  public void run()
  {
    theButton.setEnabled(true);
  }
}
